import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/auth/local',
    method: 'post',
    data
  })
}
export function getUserInfo() {
  return request({
    url: '/users/me'
  })
}
export function getMypermissions() {
  return request({
    url: '/mypermissions'
  })
}

